<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>自定义项类型列表</title>
	<%@ include file="/common/common_style_script.jsp"%>
</head>
<body>
	<table class="ct2 blue f12" width="100%">
		<tr>
			<th>类型名称</th><th>类型描述</th><th>操作</th>
		</tr>
		<c:choose>
			<c:when test="${not empty requestScope.customItemTypeList}">
				<c:forEach items="${requestScope.customItemTypeList}" var="data">
					<tr>
						<td><c:out value="${data.itemTypeName}"/></td>
						<td><c:out value="${data.itemTypeDesc}"/></td>
						<td>
							<a href="<c:url value="/sys/ci/listItem.action?typeId=${data.itemTypeId}"/>" target="main">查看</a>|
							<a href="javascript:openDialog('<c:url value="/sys/ci/editType.action?typeId=${data.itemTypeId}"/>')">修改</a>|
							<a href="javascript:ajaxDelete('<c:url value="/ajax/ci/doDeleteType.action?typeId=${data.itemTypeId}"/>', '是否确认删除【${data.itemTypeName}】?')">删除</a>
						</td>
					</tr>
				</c:forEach>
			</c:when>
			<c:otherwise>
				<tr><td rowspan="2">无记录</td></tr>
			</c:otherwise>
		</c:choose>
	</table>
</body>
</html>